<template>
    <div class="loading_container flex-top-left" v-show="this.$store.state.is_loading">
         <van-loading color="#000" vertical size="0.4rem" text-size="0.15rem">数据加载中</van-loading>
    </div>
</template>

<script>
export default {
   name: "Loading",
   data() {
    return {}
   },
   created() {
    // console.log(this.$store.state.is_loading);
   }
}
</script>

<style scoped>
.loading_container {
    position: fixed;
    bottom: 0;
    top: 0;
    right: 0;
    left: 0;
    background-color: #fff;
}
</style>